package com.ruoyi.client.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "购物车项VO", description = "购物车列表返回数据")
public class CartVo {

    @ApiModelProperty(value = "购物车记录ID", example = "1")
    private Long id;

    @ApiModelProperty(value = "用户ID", example = "10086")
    private Long userId;

    @ApiModelProperty(value = "商品ID", example = "1001")
    private Long goodsId;

    @ApiModelProperty(value = "商品名称", example = "虾饺")
    private String goodsName;

    @ApiModelProperty(value = "商品单价（元）", example = "6999.00")
    private Double goodsPrice;

    @ApiModelProperty(value = "商品图片URL", example = "https://xxx.com/goods/1001.jpg")
    private String goodsImg;

    @ApiModelProperty(value = "购买数量", example = "2")
    private Integer count;

    @ApiModelProperty(value = "勾选状态（0=未勾选，1=已勾选）", example = "1")
    private Integer isChecked;

    // 新增：店铺ID
    @ApiModelProperty(value = "店铺ID", example = "2001")
    private Long storeId;

    // 新增：店铺名称
    @ApiModelProperty(value = "店铺名称", example = "粤菜")
    private String storeName;
}